package com.hardydou.pm.mapper;

import com.hardydou.pm.model.PmTask;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @author hardy
 */
@Repository
public interface PmTaskMapper {
    
    int deleteByPrimaryKey(Integer taskId);

    int insert(PmTask record);

    int insertSelective(PmTask record);

    PmTask selectByPrimaryKey(Integer taskId);

    int updateByPrimaryKeySelective(PmTask record);

    int updateByPrimaryKey(PmTask record);

    List<PmTask> list(Map params);
}